using System;
using System.Collections.Generic;
using System.Text;
using TNI;

namespace Graphics
{
    public class Film
    {
        public enum TYPE   {
                        T5x5, 
                        T24x36
                    }; 

        public Film() {}
        public Film( TYPE type, int width, int height )
        {
            m_type = type;
            m_width = width;
            m_height = height;
            colors = new List<Color>();

        }


        public TYPE Type
        {
            get { return m_type; }
            set { m_type = value; }
        }
        public int Width
        {
            get { return m_width; }
            set { m_width = value; }
        }
        public int Height
        {
            get { return m_height; }
            set { m_height = value; }
        }


        public virtual void Trace(Color c) { }
        public virtual void Trace(int x, int y, Color c) { }
        public virtual bool Save(string filename, int format) { return true; }
        public virtual bool Save(string filename, string format_name) { return true; }

        

        protected TYPE  m_type; 
        protected int   m_width, m_height;
        protected List<Color> colors;

    }
}

